type github.com/gotd/td/telegram/downloader.verifier
10 uses
github.com/gotd/td/telegram/downloader (current package)
reader.go#L33: verifier *verifier // immutable
reader.go#L47: func verifiedReader(sch schema, verifier *verifier) *reader {
verifier.go#L19: type verifier struct {
verifier.go#L34: func newVerifier(client schema, hashes ...tg.FileHash) *verifier {
verifier.go#L52: return &verifier{
verifier.go#L61: func (v *verifier) start(offset int64) {
verifier.go#L73: func (v *verifier) pop() (tg.FileHash, bool) {
verifier.go#L92: func (v *verifier) update(hashes ...tg.FileHash) (tg.FileHash, bool) {
verifier.go#L119: func (v *verifier) next(ctx context.Context) (tg.FileHash, bool, error) {
verifier.go#L155: func (v *verifier) verify(hash tg.FileHash, data []byte) bool {
![]() |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |